﻿<!DOCTYPE html>
<!--[if lt IE 7]>    <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="zh-cn" > <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="zh-cn" > <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="zh-cn" ><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="zh-cn">
<!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>物流信息</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no" />
    <meta name="”apple-mobile-web-app-capable”" content="”yes”" />
    <link type="text/css" rel="stylesheet" href="/shop/templates/haier/css/style_1.css">
    <link type="text/css" rel="stylesheet" href="/shop/templates/haier/css/member.css">
    <!-- 加载js/css -->
    <link type="text/css" rel="stylesheet" href="/shop/templates/yeshou/css/font-awesome.min.css?v=3">
    <link type="text/css" rel="stylesheet" href="/shop/templates/yeshou/css/wapmain.css?v=5">
    <script type="text/javascript" src="/shop/templates/yeshou/js/zepto.min.js?v=3"></script> 
    <script type="text/javascript" src="/shop/templates/yeshou/js/zepto.js"></script> 
	<script type="text/javascript" src="/shop/templates/yeshou/js/mediav.js"></script>
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "//hm.baidu.com/hm.js?7c10355ee0f6b21af208947325fd4ad7";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<body>
    <div id="J_Wrappear">
        <div class="lay-wrap J_MenuBody" id="J_MenuSwipe">
            <!--顶部-->
            <vt:template id="header" file="_header.html" charset="utf-8" />
            <!--end顶部-->
            <script>
                $(document).ready(function () {
                    initCart();
                });

                /**重新加载购物车数量和总价**/
                function initCart() {
                    $.ajax({
                        url: '/shop/shopmgr.ashx?wid={$wid}&openid={$openid}&myact=pcount&ss=' + Math.random(),
                        dataType: 'json',
                        async: false,
                        success: function (data) {
                            if (data.data > 0) {
                                var num = data.data;
                                var cart_a_link = $(".m-shop-cart");
                                if (num != 'undefined' && parseInt(num) > 0) {
                                    if (cart_a_link.find("i.shop-num").length > 0) {
                                        cart_a_link.find("i.shop-num").text(num);
                                    } else {
                                        cart_a_link.prepend($("<i class=\"shop-num\">" + num + "</i>"));
                                    }
                                }
                            }
                        }
                    });
                }

            </script>

            <div class="lay-til J_MenuBody" id="J_SubHead">
                <div class="header-con">
                    <i class="arrow-back" onclick="history.go(-1)">
                        <img src="/shop/templates/yeshou/images/pay_03.png" alt="" /></i>
                    <h1>物流信息</h1>
                </div>
            </div>
            <div class="lay-body" id="J_MainBody">
                <section class="mainLayout">
                    <div class="main">
                        <div class="Login">
                            <div class="address_nr">
                                <div class="address_top">
                                    <div class="address_t order_top">订单号：{$order.order_no}</div>
                                    <div class="address_b">
                                        <div class="mycomments_top">
                                            <div class="product_right">
                                                <vt:foreach from="$order.order_product" item="g" index="j">
                <div class="mycomments_title buy_title"> {$g.productName}</div>
                <div class="mycomments_sj">价格：<span class="search_price" >￥{$order.real_amount}</span> </div>
                <div class="mycomments_sj" >数量：<span >{$g.stock}</span></div>
                      </vt:foreach>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="address_b order_zhui" id="bhao">
                                        <span>物流编号：<span id="wuliu">{$order.express_no}</span></span></br>
               <span>快递公司：{$expressName}</span>

                                    </div>
                                    <div class="address_b order_zhui" id="retData">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
        <div class="m-mask J_MenuBody" id="J_Mask"></div>

        <!--左边菜单-->
        <vt:template id="_bottom" file="_bottom.html" charset="utf-8" />
        <!--end左边菜单-->
        <script type="text/javascript" src="/shop/templates/yeshou/js/main.js?v=1"></script>
        <script type="text/javascript" src="/shop/templates/yeshou/js/idangerous.swiper.min.js"></script>
        <script src="../../../scripts/jquery/jquery.query.js"></script>
        <script type="text/javascript">
            $(function () {
                if ($("#wuliu").text() == "") {
                    $("#wuliu").text("物流编号不存在")
                }
            });
            var rid = $.query.get("orderid");
            var wid = $.query.get("wid");
            var openid = $.query.get("openid");
            if (rid > 0) {
                $.get("Get.aspx", { wid: wid, openid: openid, rid: rid },
                         function (data) {
                             $("#bhao").hide();
                             if (data != null) {
                                 $("#bhao").show();
                                 $("#retData").html(data);
                             }
                         }
                  );

            }
        </script>
    </div>
</body>
</html>
